-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRV MultiRewarder Contract #485
Conversation
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
CRV MultiRewarder Contract
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
…rred into staking contract Signed-off-by: Elliot <[email protected]>
We can back the tests and compiler run out of CI once we are satisfied with things to decrease CI times. |
@@ -30,6 +30,10 @@ runs: | |||
run: forge compile --contracts proposals/ | |||
shell: bash | |||
|
|||
- name: Compile MultiRewarder | |||
run: forge compile --contracts crv-rewards/ | |||
shell: bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will be deleted once we pass audit
retry_wait_seconds: 60 | ||
timeout_minutes: 20 | ||
max_attempts: 3 | ||
command: time forge test --match-path test/unit/MultiRewards.t.sol -vvv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this as well as the tests will be deleted once audit clears
…ining this design decision Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
…onwell-contracts-v2 into feat/curve-multi-rewarder
|
|
||
// ------------------------------------------------------------------------------------------------------ | ||
// ------------------------------------------------------------------------------------------------------ | ||
// Simple testing utilities since forge-std minimum solidity version is 0.6.20 and MultiRewards is 0.5.17 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests are great, diff looks good as well (only formatting and removing the require function). LGTM!
Add CRV MultiRewarder Contract for incentivizing Metamorpho Vault Deposits
Forked from https://github.com/curvefi/multi-rewards/blob/master/contracts/MultiRewards.sol
Diff, should only be formatting changes: https://www.diffchecker.com/nA6Jb3Md/